<template>
  <div>
    <div class="tabbar">
      <van-tabbar v-model="active">
        <van-tabbar-item :to="{name:'Home'}"><i slot="icon" class='iconfont icon-zhuye header-icon'></i>今日快讯</van-tabbar-item>
        <van-tabbar-item :to="{name:'Dayreview'}" icon="chat" dot>今日评</van-tabbar-item>
        <van-tabbar-item info="5" :to="{name:'Subscribe'}"><i class="iconfont icon-dingyue2" slot="icon"></i>订阅</van-tabbar-item>
        <van-tabbar-item :to="{name:'Mine'}"><i class="iconfont icon-daohangdizhi" slot="icon"></i>我的</van-tabbar-item>
      </van-tabbar>
    </div>
  </div>
</template>
<script>
export default {
  // import Router from '@/router/index'
  data() {
    return {
      active: this.$route.meta.footbar_active
    }
  },
  components: {

  },
  methods: {
    onClickLeft() {
      this.$router.goBack()
    }
  }
}
</script>
 <style scoped>

 </style>
